---
category: Level 1 — Basic
created: '2020-02-21'
keywords:
title: Redirect to another page
---

```js
location.href = '/the/new/url';
```

## See also

-   [Reload the current page](https://phuoc.ng/collection/html-dom/reload-the-current-page/)
